package com.site.wisdom_construction.entity.personnelModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-07 
 */

@ApiModel (value ="劳务人员不良行为表实体类",description = "BadnessWorkers")
public class BadnessWorkers {
	/**
	 * 劳务人员不良行为表id
	 */
   	@ApiModelProperty(value = "劳务人员不良行为表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 工人姓名
	 */
   	@ApiModelProperty(value = "工人姓名", name = "workerName")
	private String workerName;

	/**
	 * 工人身份证号
	 */
   	@ApiModelProperty(value = "工人身份证号", name = "workerCard")
	private String workerCard;

	/**
	 * 劳务队名称
	 */
   	@ApiModelProperty(value = "劳务队名称", name = "subcontractorsName")
	private String subcontractorsName;

	/**
	 * 班组名称
	 */
   	@ApiModelProperty(value = "班组名称", name = "teamName")
	private String teamName;

	/**
	 * 不良行为类型
	 */
   	@ApiModelProperty(value = "不良行为类型", name = "badnessType")
	private String badnessType;

	/**
	 * 登记人
	 */
   	@ApiModelProperty(value = "登记人", name = "registrant")
	private String registrant;

	/**
	 * 登记日期
	 */
   	@ApiModelProperty(value = "登记日期", name = "registrantDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date registrantDate;

	/**
	 * 不良行为描述
	 */
   	@ApiModelProperty(value = "不良行为描述", name = "badnessRemake")
	private String badnessRemake;

	/**
	 * 附件
	 */
   	@ApiModelProperty(value = "附件", name = "accessory")
	private String accessory;

	public BadnessWorkers(){ super(); }

	public BadnessWorkers(Integer id, Integer projectId, String workerName, String workerCard, String subcontractorsName, String teamName, String badnessType, String registrant, Date registrantDate, String badnessRemake, String accessory) {
		this.id = id;
		this.projectId = projectId;
		this.workerName = workerName;
		this.workerCard = workerCard;
		this.subcontractorsName = subcontractorsName;
		this.teamName = teamName;
		this.badnessType = badnessType;
		this.registrant = registrant;
		this.registrantDate = registrantDate;
		this.badnessRemake = badnessRemake;
		this.accessory = accessory;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getWorkerName() {
		return this.workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public String getWorkerCard() {
		return this.workerCard;
	}

	public void setWorkerCard(String workerCard) {
		this.workerCard = workerCard;
	}

	public String getSubcontractorsName() {
		return this.subcontractorsName;
	}

	public void setSubcontractorsName(String subcontractorsName) {
		this.subcontractorsName = subcontractorsName;
	}

	public String getTeamName() {
		return this.teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	public String getBadnessType() {
		return this.badnessType;
	}

	public void setBadnessType(String badnessType) {
		this.badnessType = badnessType;
	}

	public String getRegistrant() {
		return this.registrant;
	}

	public void setRegistrant(String registrant) {
		this.registrant = registrant;
	}

	public Date getRegistrantDate() {
		return this.registrantDate;
	}

	public void setRegistrantDate(Date registrantDate) {
		this.registrantDate = registrantDate;
	}

	public String getBadnessRemake() {
		return this.badnessRemake;
	}

	public void setBadnessRemake(String badnessRemake) {
		this.badnessRemake = badnessRemake;
	}

	public String getAccessory() {
		return this.accessory;
	}

	public void setAccessory(String accessory) {
		this.accessory = accessory;
	}

	@Override
	public String toString() {
		return "{" +
				"id='" + id + '\'' +
				", projectId='" + projectId + '\'' +
				", workerName='" + workerName + '\'' +
				", workerCard='" + workerCard + '\'' +
				", subcontractorsName='" + subcontractorsName + '\'' +
				", teamName='" + teamName + '\'' +
				", badnessType='" + badnessType + '\'' +
				", registrant='" + registrant + '\'' +
				", registrantDate='" + registrantDate + '\'' +
				", badnessRemake='" + badnessRemake + '\'' +
				", accessory='" + accessory + '\'' +
				'}';
	}
}
